package com.network.qo;

/**
 * 分页查询对象
 * @author peng
 */
public class PageQo
{
    private Integer page=0;
    private Integer limit=10;

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {

        if(page>0)
        {
            this.page = page-1;
        }else
        {
            this.page =page;
        }

    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }
}
